package com.example.demo.web;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import reactor.core.publisher.Mono;

/**
 * @Author: liull
 * @Description: webflux学习
 * @Date: Created in 16:06 2020/7/1
 * @Modified By:
 */
@RestController
public class FluxController {

    @GetMapping("/hello")
    public Mono<String> hello() {
        return Mono.just("hello lyl");
    }
}
